let mongoose = require('mongoose');
//建立user集合的模型对象(忽略_id)
let userSchema = new mongoose.Schema({
    account: String,
    password: String
  })
  //建立user集合与模型的关系
mongoose.model('userModel', userSchema, 'user');